<?php
class User_Model_User 
	extends Core_Model_Abstract
{
	protected $_name;
	
	protected $_email;
	
	protected $_dateOfBirth;
	
	protected $_createDate;
	
	protected $_expirationDate;
	
	protected $_active;
	
	
	public function setName($name)
	{
		$this->_name	= $name;
	}
	
	public function setEmail($email)
	{
		$valid	= Zend_Validate_EmailAddress();
		if (!$valid->isValid($email))
		{
			throw new User_Model_Exception('Invalid Email Address');
		}
		
		$this->_email	= $email;
	}
	
}